package bean;

import java.util.HashSet;
import java.util.Set;

/**
 * Country entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Country implements java.io.Serializable {

	// Fields

	private Integer countryId;
	private String countryName;
	private Set destinations = new HashSet(0);

	// Constructors

	/** default constructor */
	public Country() {
	}

	/** minimal constructor */
	public Country(Integer countryId, String countryName) {
		this.countryId = countryId;
		this.countryName = countryName;
	}
	
	public Country( String countryName) {
		this.countryName = countryName;
	}

	/** full constructor */
	public Country(Integer countryId, String countryName, Set destinations) {
		this.countryId = countryId;
		this.countryName = countryName;
		this.destinations = destinations;
	}

	// Property accessors

	public Integer getCountryId() {
		return this.countryId;
	}

	public void setCountryId(Integer countryId) {
		this.countryId = countryId;
	}

	public String getCountryName() {
		return this.countryName;
	}

	public void setCountryName(String countryName) {
		this.countryName = countryName;
	}

	public Set getDestinations() {
		return this.destinations;
	}

	public void setDestinations(Set destinations) {
		this.destinations = destinations;
	}

}